package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-05-25 08:44:56
 */
@Data
@TableName("im_moment")
public class ImMomentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 * 朋友圈内容
	 */
	private String content;
	/**
	 * 朋友圈图片
	 */
	private String image;
	/**
	 * 朋友圈视频
	 */
	private String video;
	/**
	 * 位置
	 */
	private String location;
	/**
	 * 提醒谁看
	 */
	private String remind;
	/**
	 * 谁可以看 all公开 none私密
	 */
	private String see;
	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 *
	 */
	private Date createdAt;
	/**
	 *
	 */
	private Date updatedAt;

	@TableField(exist = false)
	private String nickname;
	@TableField(exist = false)
	private String username;
	@TableField(exist = false)
	private String avatar;
	@TableField(exist = false)
	private int own;
	@TableField(exist = false)
	private List<ImMomentLikeEntity> likes;

	@TableField(exist = false)
	private List<Options> comments;

}
